package com.bjbn.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * OpenAPI配置类
 * 
 * @author bjbn
 */
@Configuration
public class OpenApiConfig {

    @Bean
    public OpenAPI customOpenAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("AESB WebAPI API")
                        .description("WebAPI接口转发服务 - 提供统一的API调用入口")
                        .version("1.0.0")
                        .contact(new Contact()
                                .name("bjbn")
                                .email("")));
    }
} 